'''age = 19
if age >= 18:
    print("成年，可以去网吧。。。")
'''
#逻辑运算符
'''you = input("你去吗？")#去或者不去
yourwife = input("你老婆去吗？")
if you == "去" or yourwife == "去":
    print("成功办成某事")
'''
'''color = input("你白吗？")#白  或者   不白
money = int(input("请输入你的财产总和:"))#输入财产
beauty = input("你美吗？")#美  或者  不美
if color == "白" and money >= 10000000 and beauty == "美":
    print("白富美")
else:
    print("不是白富美")
'''
'''
num = int(input("请输入数字"))
if num == 1:
    print("Monday")
elif num == 2:
    print("Tuesday")
elif num == 3:
    print("Wednesday")
elif num == 4:
    print("Thursday")
elif num == 5:
    print("Friday")
elif num == 6:
    print("Saturday")
elif num == 7:
    print("Sunday")
else:
    print("input wrang")
'''
#if 嵌套、上火车
'''
ticket = 1#1表示有车票，0表示没有车票
knifelen = 8#cm
if ticket == 1:
    print("通过车票检查，进入车站，接下来安检")
    if knifelen <= 10:
        print("通过安检，达到候车厅")
    else:
        print("安检不合格，不能进入候车厅")
else:
    print("没有车票，请买票！")
'''
'''
#if 白富美，高富帅
sex = input("please input your sex:")
if sex == "female":
    color = input("Are your skin white?(yes/no)")
    money = int(input("please input your total measure:"))
    beauty = input("Do you think you are beautiful?(yes/no)")
    if color == "yes" and money >= 1000000 and beauty == "yes":
        print("you are the one we are searching for who is white ,rich and pretty!")
    else:
        print("you are not the one we are search for.")
elif sex == "male":
    high = int(input("please input your hight(cm):"))
    money = int(input("please input your total measure:"))
    handsome = input("Do you think you are handsome?(yes/no)")
    if high >= 180 and money >= 10000000 and handsome == "yes":
        print("you are the one we are searching for who is high ,rich and handsome!")
    else:
        print("you are not the one we are searching for.")
else:
    print("message wrong......")
'''
age = 20
if age >= 18:
    print('your age is:',age)
    print('adult')
elif age >= 6:
    print('your age is',age)
    print('teenager')
else:
    print('kid')

birth = input('birth: ')
#input返回的数据类型是str，str不能直接和整数比较
birth = int(birth)
if birth < 2000:
    print('00前')
else:
    print('00后')
